package com.heima;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * @author: itheima
 * @create: 2021-12-20 11:37
 */
@EnableDiscoveryClient
@SpringBootApplication
@EnableFeignClients //扫描Feign接口产生远程调用代理对象
@EnableAsync //开启异步线程池调用
public class MediaApp {
    public static void main(String[] args) {
        SpringApplication.run(MediaApp.class, args);
    }
}
